﻿using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;

namespace PomodoroSuite.InstaladorHelper
{
    [RunInstaller(true)]
    public partial class Instalador : Installer
    {
        public Instalador()
        {
            InitializeComponent();
        }

        public override void Install(IDictionary stateSaver)
        {
            base.Install(stateSaver);
            frmInstaladorBD instaladorBD = new frmInstaladorBD(Context.Parameters["Directorio"]);
            instaladorBD.ShowDialog();
            instaladorBD.Dispose();
            instaladorBD = null;
        }
    }
}
